home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
lang
/
prolog19
/
member.pro
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1986-05-05
|
256 b
|
13 lines
/* Recursive member of list definition.
Ask: Member( X, [a,b,c,d,e,f] ) to get successively all
the members of the given list. */
member( Y, [Y|_] ).
member( B, [_|C] ) :- member( B, C ).